const express=require("express");
const router=express.Router();
router.use(function(req,res,next){
    console.log(`当前时间：${new Date().toLocaleString()}`);

    next();

})
router.get("/",function(req,res){
    res.send("Birds首页");
});
router.get("/about",function(req,res){
    res.send("Birds关于页");
});
module.exports=router;